home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Info-Mac 4
/
Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso
/
Text Processing
/
JCONV-DD ver.1.8 ƒ
/
*Must read this to use*
next >
Wrap
Text File
|
1994-06-16
|
13KB
|
384 lines
JCONV-DD -- a JIS<->SJIS<->EUC converter
========================================
FILE: JCONV-DD
ver.: 1.8
Type: Application
Author: Natsu Sakimura
Date: 1994.06.16
System Requirement: System 7.0 or later
Distribution: Donateware (see Asking your favour:
section below for terms and conditions)
*** This document is formatted in SE-TEXT format. ***
*** You can use EasyView for more convenient browsing ***
=================
TABLE OF CONTENTS
=================
Conditions for the use of JCONV-DD
Description:
New In This Version:
Usage:
Result:
Caution:
Known Bugs:
Disclaimer:
Contact address:
Distribution
Notes:
Acknowledgement:
Asking your favour:
Version History:
Future Directions:
Miscellaneous:
Other utilities from the same author
Conditions for the use of JCONV-DD
----------------------------------
TO READ THIS DOCUMENT THOROUGHLY.
SEND IN THE "User Registration" WHEN YOU DECIDE TO
KEEP JCONV-DD.
Description:
------------
JCONV-DD is a drag & drop application which performs
the conversion of JIS, SJIS and EUC files. It
auto-detects the encoding scheme of the file which was
dropped.
JCONV-DD allows the default output code and EOL
characters settings for each of New-JIS, Shift-JIS,
EUC input files so that users do not need to specify
neither input nor output code nor the EOL characters
once the default has been set. For other features,
please refer to the "Feature Set" file.
New In This Version:
--------------------
• Unified the features of CRLF. Now you can deal with
ASCII text and broken JIS text alike.
Usage:
------
*************************************************************
** Before start using JCONV-DD version 1.6.2, users are **
** strongly recommended to set up the default behavior for **
** the JCONV-DD. **
*************************************************************
To do so, just double click the JCONV-DD icon while
pressing control key down until a dialog box appears.
In the dialog box, you can set the default output
code for each of JIS, SJIS, and EUC files. You can
also set the EOL characters and creators to use in
the output file.
From version 1.6.3, you are now able to choose between
ESC(B and ESC(J as the so called "Kanji-Out" string in
the preference dialog.
Please note that the EOL characters and the file
creator depends upon the input file's code. This
specification may be arguable, but this seems to
be the best compromise to me at the moment.
The default setting at the time of shipping is:
---------------------------------------
Input Output EOL creator
---------------------------------------
JIS Shift-JIS CR Edt7
SJIS New-JIS LF CRLF
EUC Shift-JIS CR YoED
---------------------------------------
Other creators I recommend is mdos for EOL==CRLF.
As long as you have Apple file exchange, you will
get the proper icon for mdos.
Once you have done the setup, just drag & drop one or more
text files/folders onto JCONV-DD. JCONV-DD will automatically
detect the input code, then converts the file according to
the rule you have set in the preference dialog.
To override the default behavior, press COMMAND_KEY while
dropping the files. A dialog comes up and through it,
you can set up the input and output code as you desire.
You can also change the output file's code by pressing one of
the modifier keys.
----------- --------------------------
Key Output
----------- --------------------------
SHIFT_KEY SHIFT-JIS
OPTION_KEY EUC
SPACE_KEY New-JIS
COMMAND_KEY Specify through dialog
CONTROL_KEY Setup the preference**
----------- --------------------------
** I strongly recommend you to setup the preference before you
start using JCONV-DD. It will save a lot of time later.
You must continue pressing the modifier key until the conversion
of the first file begin. (All the other files will be converted
to the same code as the first file.)
You can also open the application and select the files from
Standard File dialog, but it doesn't make much sense,
does it? The modifier key strategy also works here.
Result:
-------
File with the desired encoding: Default is New-JIS.
The name of the output file will have the extension
showing its code. e.g., if the original file was
myfile.txt, then output will be something like
myfile.new -- New JIS
myfile.sjs -- Shift JIS
myfile.euc -- EUC.
myfile.old -- Old-JIS
myfile.nec -- NEC-JIS
myfile.rem -- JIS without ESC code
If you select Check Code Only mode, JCONV-DD will display
the file's code.
Caution:
--------
It has not been tested much.
*** IT IS NOT COMPATIBLE WITH SYSTEMS PRIOR TO SYSTEM 7.0 ***
Known Bugs:
-----------
If you drop a folder onto JCONV-DD ver.1.8, ALL the files
will be processed, including applications!
Disclaimer:
----------
THE PROGRAMME IS PROVIDED AS IS. ABSOLUTELY NO RESPONSIBILITY
WILL BE TAKEN BY THE AUTHOR FOR WHATEVER THE CONSEQUENCE OF
THIS APPLICATION.
Contact address:
----------------
Please e-mail any suggestions to:
sakimura@sscl.uwo.ca
Distribution
------------
You can freely redistribute this package provided you do so in
the original packaging, i.e., don't change any file in the
package. You must not charge any money for the redistribution
except for the nominal charge for the disk, etc.
All the files are copyrighted and not in the public domain:
It is a DONATEWARE(see asking your favour section for details)!
Notes:
------
This version of JCONV-DD implements subset of jconv ver.3.0
by Ken Lunde. I wrote this because, from time to time, I
had to convert between sjis and jis files. I wanted to do it
without much interaction. I thought a drag & drop with only
a few options will be nice. The reason for the public release
was to help the people who has the similar needs and to
ask your favour to donate if you have some extra monay to
the people in needs.
The features dropped from jconv ver.3.0 are:
i. JIS/EUC/SJIS table
ii. verbose mode
Acknowledgement:
----------------
I would like to thank Mr.Ken Lunde for making the source code
of jconv freely available. Also, I would like to thank Mr.Troy
Anderson for supplying "File Dropper" application shell
without any license fee. The folder icon was created by
Mr.Fumio Rokkaku.
Asking your favour:
-------------------
If you liked it and decided to use it, please make
donations to an organization like UNHCR or "Medicines
sans Frontieres" to help peaople in needs.
You can do it in 4 ways.
1) Find the organization near your place and donate.
*** In this case, please send me the name and
address of the organization to me. I am trying to
compile a list of such organizations so that
I can help people to get contact with these
organizations easier. ( PLEASE STATE EXPLICITLY
WHAT THE ORGANIZATION IS FOR!)
2) Donate to the organizations in the attached list
and send me to which organization you have donated
(with or without amount. I believe your honesty.)
3) Send cheque or money order to me. Then, it will
be forwarded to MSF.
4) If you are too poor to donate, then you can provide
me with the name/address/phone number of a
charitable organization of your area.
If you send in the "User Registration," then you will be
a registered user for 1 year from the registration date.
I will try to send the following to the internet connected
registered users.
1) Bug reports
2) Notice of new version release.
My address is:
Natsu Sakimura
1 Jacksway Cres., Suite 320
London, Ontario N5X3T5
CANADA
E-mail: sakimura@sscl.uwo.ca
Version History:
----------------
0.2b The first release [1993.08.26].
1.3 The second release [1993.08.31]. New features:
• Added command mode to specify
(1) Input Code [New-JIS, Old-JIS, NEC-JIS, EUC, Shift-JIS]
(2) Output Code [New-JIS, Old-JIS, NEC-JIS, EUC, Shift-JIS]
(3) Other modes:[JIS-Repair, Delete ESC, Force Delete ESC,
Hankaku to Zenkaku(To Full Size), Check Code Only]
• New algorithms which came with jconv ver.3.0.
[BTW, jconv 3.0 is available from info-mac archive
in the util directory if I remember correctly. ]
1.4b1 The third release [1993.09.07].
• Disabled the progress bar for the smaller files (<5K).
• Disabled the "smooth" progress bar for the larger files.
These are for the sake of speed.
• Added behavior control mode, i.e., preference setting for
default behavior of JCONV-DD.
• Added a modifier key to specify New-JIS for output to
override the user setting.
1.4b2 The Second evolution of version 1.4.
• Changed the specification so that it will truncate the
filename of the output when it is too long, so that now
it works even for a very long file name.
1.4b3 The Third evolution of version 1.4. [1993.09.25]
• Fixed a bug which caused a crash in System7.0.1 when
using in Command or preference mode.
1.4b5 [1993.10.18]
• Fixed a bug which did not allow it to process more
than 7 files at a time.
1.5.0 [1993.10.30]
• Changed the default behavior control dialog so that it is
now possible to change the default behavior according to
the code of the input file.
1.6.0 [1993.12.26]
• Now it allows the selection of the EOL characters
depending upon the input file's encoding scheme.
1.6.1 [1993.12.29]
• Fixed the bugs caused the euc conversion fail and
the file creator not properly set in Repair JIS
mode. Also fixed the bug which caused the command
mode to be ineffective. The Japanese document had
fixed some typos.
1.6.2 [1994.02.21]
• Now creates a unique file name so that it will not
collide with the existing files.
• Support of Balloon help for preference dialog and
the finder icon are added.
1.6.3 [1994.03.27]
• Fixed the bug which caused the loss of ascii
characters in SJIS->SJIS conversion.
• Added a check box in the prefs dialog to allow
choice between ESC(B and ESC(J in the output
New & Old JIS file.
• Added a check box in the prefs dialog to allow
choice between new file generation or in place
conversion.
• Changed the finder help balloon to use styled text.
• Fixed the bug so that now the progress bar is
displayed properly on a B/W monitor.
1.7.0 [1994.04.24]
• Now help balloons are displayed properly within the
preference dialogue box.
• Preference dialogue box became accessible from the
File menu, too.
• Setting the creator for the output file can now be
done through the standard file dialogue.
1.7.1 [1994.04.28]
• Improved the Kanji Code detection algorithm so that
dection of EUC and SJIS Hankaku Kana became better.
1.7.3 [1994.04.30]
• Fixed the bug which caused an infinite-loop when
folder is dropped without specifying the in-place
conversion option. (1.7.3)
• Fixed the bug in the preference dialogue.
1.8 [1994.06.16]
• Unified the features of CRLF. Now you can deal with
ASCII text and broken JIS text alike.
Future Directions:
------------------
In version 2.0, multiple Kanji codes in a single input
file will be supported.
I am thinking of adding the following capabilities in the
future:
1) Resource folk preservation.
Miscellaneous:
--------------
As a default, JCONV-DD accepts only the text files
and Folders. However, you can change this behavior
by fiddling with ResEdit. Open a BNDL resource 128
and add a new file type. Then, drop it on a utility
like Save-a-BNDL or rebuild the desktop. This would
do the trick. Note that JCONV-DD will through away
all the resource fork. Do this only with caution
and if you are absolutely sure on what you are doing.
There are several icons supplied since ver.1.6.
If you set the creator CRLF, then crlf icon will
appear even if you don't have CRLF. (You may need
to rebuild the desktop.)
If you set the creator JCNV, then JIS file icon
will appear.
You can browse through the icon resources by ResEdit
to see more icons supplied with JCONV-DD.
Other utilities from the same author
------------------------------------
CRLF : Converts file format among UNIX<->Mac<->IBM (well, more
formally, changes the end of line character among
LF<->CR<->CRLF) on Drag & Drop. It converts the file
"in place", i.e., it does not create a new file with another
extension. Instead of the extension, you will be able to
figure out the file's format by the icon.
It does not break up the Japanese code like
some other similar utility does. You can set up the
default behavior just like JCONV-DD, so you would not need
the interaction after then.
Written in Think C ver.6.0.
[DonateWare]
Rescue George : A puzzle
<End of ReadMe>